/**
 * 
 */
package com.fita.scheduler.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.fita.scheduler.entity.Supplier;

/**
 * @author Guangli Yan
 *
 */
@Dao
public interface SupplierDao {

	
	@Query("SELECT id, pref_code, code FROM supplier WHERE code = :code")
	Supplier loadByBrand(@Variable("code") String code);
	
}
